﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" CodeFile="register.aspx.cs" Inherits="vboard_membership_register" %>

<asp:Content ID="Content" Runat="Server" ContentPlaceHolderID="ContentPlaceHolder">
	<div class="Title"><%= GetLocalResourceObject("Title").ToString() %></div>

	<div class="ControlForm">
		<div class="AccordionHeader"><%= GetLocalResourceObject("Basic").ToString() %></div>

		<div class="AccordionContent">
			<dl class="VGlobal_FormFieldDL100">
				<dt>
					<asp:Label ID="UserNameLabel" runat="server"
						Text="<%$ Resources:UserNameLabel %>"
						AssociatedControlID="UserNameTextBox" />
				</dt>
				<dd>
					<asp:TextBox ID="UserNameTextBox" runat="server"
						MaxLength="100"
						Columns="30"
						CssClass="VWebGlobal_TextBox" />
					<asp:RequiredFieldValidator ID="UserNameRequiredFieldValidator" runat="server"
						ControlToValidate="UserNameTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_UserName_Insert %>"
						Display="None" /></dt>
					<ajaxToolkit:ValidatorCalloutExtender ID="UserNameRequiredFieldCalloutExtender" runat="Server"
						TargetControlID="UserNameRequiredFieldValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
				</dd>

				<dt>
					<asp:Label ID="EmailLabel" runat="server"
						Text="<%$ Resources:EmailLabel %>"
						AssociatedControlID="EmailTextBox" />
				</dt>
				<dd>
					<asp:TextBox ID="EmailTextBox" runat="server"
						AutoCompleteType="Disabled"
						MaxLength="200"
						Columns="30"
						CssClass="VWebGlobal_TextBox" />
					<asp:RequiredFieldValidator ID="EmailRequiredFieldValidator" runat="server"
						Display="None"
						ControlToValidate="EmailTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Email_Insert %>" />
					<ajaxToolkit:ValidatorCalloutExtender ID="EmailRequiredFieldValidatorCalloutExtender" runat="Server"
						TargetControlID="EmailRequiredFieldValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
					<asp:RegularExpressionValidator ID="EmailRegularExpressionValidator" runat="server"
						Display="None"
						ControlToValidate="EmailTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Email_Check %>"
						ValidationExpression="<%$ Resources:VGlobalResources, General_Expression_Email %>" />
					<ajaxToolkit:ValidatorCalloutExtender ID="EmailRegularExpressionValidatorCalloutExtender" runat="Server"
						TargetControlID="EmailRegularExpressionValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
				</dd>

				<dt>
					<asp:Label ID="ConfirmEmailLabel" runat="server"
						Text="<%$ Resources:ConfirmEmailLabel %>"
						AssociatedControlID="ConfirmEmailTextBox" />
				</dt>
				<dd>
					<asp:TextBox ID="ConfirmEmailTextBox" runat="server"
						AutoCompleteType="Disabled"
						MaxLength="200"
						Columns="30"
						CssClass="VWebGlobal_TextBox" />
					<asp:RequiredFieldValidator ID="ConfirmEmailRequiredFieldValidator" runat="server"
						Display="None"
						ControlToValidate="ConfirmEmailTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Email_Confirm_Insert %>" />
					<ajaxToolkit:ValidatorCalloutExtender ID="ConfirmEmailRequiredFieldValidatorExtender" runat="Server"
						TargetControlID="ConfirmEmailRequiredFieldValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
					<asp:CompareValidator ID="ConfirmEmailCompareValidator" runat="server"
						ControlToCompare="EmailTextBox"
						Display="None"
						ControlToValidate="ConfirmEmailTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Email_Confirm_Check %>" />
					<ajaxToolkit:ValidatorCalloutExtender ID="ConfirmEmailCompareValidatorCalloutExtender" runat="Server"
						TargetControlID="ConfirmEmailCompareValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
				</dd>

				<dt>
					<asp:Label ID="QuestionLabel" runat="server"
						Text="<%$ Resources:QuestionLabel %>"
						AssociatedControlID="QuestionDropDownList" />
				</dt>
				<dd>
					<asp:DropDownList ID="QuestionDropDownList" runat="server" />
				</dd>

				<dt>
					<asp:Label ID="AnswerLabel" runat="server"
						Text="<%$ Resources:AnswerLabel %>"
						AssociatedControlID="AnswerTextBox" />
				</dt>
				<dd>
					<asp:TextBox ID="AnswerTextBox" runat="server"
						MaxLength="200"
						Columns="30"
						CssClass="VWebGlobal_TextBox" />
					<asp:RequiredFieldValidator ID="AnswerRequiredFieldValidator" runat="server"
						Display="None"
						ControlToValidate="AnswerTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_SecurityAnswer_Insert %>" />
					<ajaxToolkit:ValidatorCalloutExtender ID="AnswerRequiredFieldValidatorCalloutExtender" runat="Server"
						TargetControlID="AnswerRequiredFieldValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
				</dd>

				<dt>
					<asp:Label ID="PasswordLabel" runat="server"
						Text="<%$ Resources:PasswordLabel %>"
						AssociatedControlID="PasswordTextBox" />
				</dt>
				<dd>
					<asp:TextBox ID="PasswordTextBox" runat="server"
						TextMode="Password"
						AutoCompleteType="Disabled"
						MaxLength="100"
						Columns="30"
						CssClass="VWebGlobal_TextBox" />
					<asp:RequiredFieldValidator ID="PasswordRequiredFieldValidator" runat="server"
						Display="None"
						ControlToValidate="PasswordTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Password_Insert %>" />
					<ajaxToolkit:ValidatorCalloutExtender ID="PasswordRequiredFieldValidatorCalloutExtender" runat="Server"
						TargetControlID="PasswordRequiredFieldValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
					<div>※ <%= String.Format(VUtility.GetVWebGlobalResource("Membership_PasswordDescription"),
						Membership.MinRequiredPasswordLength,
						Membership.MinRequiredNonAlphanumericCharacters) %></div>
				</dd>

				<dt>
					<asp:Label ID="ConfirmPasswordLabel" runat="server"
						Text="<%$ Resources:ConfirmPasswordLabel %>"
						AssociatedControlID="ConfirmPasswordTextBox" />
				</dt>
				<dd>
					<asp:TextBox ID="ConfirmPasswordTextBox" runat="server"
						TextMode="Password"
						AutoCompleteType="Disabled"
						MaxLength="100"
						Columns="30"
						CssClass="VWebGlobal_TextBox" />
					<asp:RequiredFieldValidator ID="ConfirmPasswordRequiredFieldValidator" runat="server"
						Display="None"
						ControlToValidate="ConfirmPasswordTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Password_Confirm_Insert %>" />
					<ajaxToolkit:ValidatorCalloutExtender ID="ConfirmPasswordRequiredFieldValidatorCalloutExtender" runat="Server"
						TargetControlID="ConfirmPasswordRequiredFieldValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
					<asp:CompareValidator ID="ConfirmPasswordCompareValidator" runat="server"
						ControlToCompare="PasswordTextBox"
						Display="None"
						ControlToValidate="ConfirmPasswordTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Password_Confirm_Check %>" />
					<ajaxToolkit:ValidatorCalloutExtender ID="ConfirmPasswordCompareValidatorValidatorCalloutExtender" runat="Server"
						TargetControlID="ConfirmPasswordCompareValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
				</dd>

				<dt>
					<asp:Label ID="CommentLabel" runat="server"
						Text="<%$ Resources:CommentLabel %>"
						AssociatedControlID="CommentTextBox" />
				</dt>
				<dd>
					<asp:TextBox ID="CommentTextBox" runat="server"
						TextMode="MultiLine"
						Rows="5"
						Columns="50"
						CssClass="VWebGlobal_TextBox" />
				</dd>
			</dl>
<!--
		</div>

		<div class="AccordionHeader"><%= GetLocalResourceObject("Profile").ToString() %></div>
		<div class="AccordionContent">
			<dl class="VGlobal_FormFieldDL100">
				<dt><%= GetLocalResourceObject("BirthDateLabel").ToString() %></dt>
				<dd>
					<asp:UpdatePanel ID="UpdatePanel1" runat="server">
						<ContentTemplate>
							<asp:DropDownList ID="YearDropDownList" runat="server"	
								AutoPostBack="True"
								CssClass="VWebGlobal_TextBox"
								onselectedindexchanged="YearDropDownList_SelectedIndexChanged" />
							<asp:DropDownList ID="MonthDropDownList" runat="server"
								AutoPostBack="True"
								CssClass="VWebGlobal_TextBox"
								onselectedindexchanged="MonthDropDownList_SelectedIndexChanged" />
							<asp:DropDownList ID="DayDropDownList" runat="server"
								CssClass="VWebGlobal_TextBox" />
							<%= GetLocalResourceObject("BirthDateDescription").ToString() %>
						</ContentTemplate>
					</asp:UpdatePanel>
				</dd>

				<dt><%= GetLocalResourceObject("PersonalUrl").ToString() %></dt>
				<dd>
					<asp:TextBox ID="HomepagesTextBox" runat="server"
						TextMode="MultiLine"
						Rows="3"
						Columns="50"
						CssClass="VWebGlobal_TextBox" />
					<div><%= GetLocalResourceObject("PersonalUrlDescription").ToString() %></div>
				</dd>

				<dt><%= GetLocalResourceObject("InterestLabel").ToString() %></dt>
				<dd>
					<asp:TextBox ID="InterestsTextBox" runat="server"
						TextMode="MultiLine"
						Rows="3"
						Columns="50"
						CssClass="VWebGlobal_TextBox" />
				</dd>
-->
			<dl class="VGlobal_FormFieldDL100">
				<dt></dt>
				<dd>
					<asp:Button ID="CreateUserButton" runat="server"
						Text="<%$ Resources:CreateUserButton %>"
						onclick="CreateUserButton_Click" />
					<input type="reset" value="<%= GetLocalResourceObject("ResetButton") %>" />
				</dd>
			</dl>
		</div>
	</div>
</asp:Content>